home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Communications / Divers / DinkClass ƒ / DC Scribble / DScribbleApp.h < prev    next >
Encoding:
Text File  |  1992-10-11  |  878 b   |  39 lines  |  [TEXT/KAHL]

  1. /*
  2.     File:        DScribbleApp.h
  3.  
  4.     Written by:    Mark Gross
  5.  
  6.     Copyright:    © 1992 by Applied Technical Software, all rights reserved.
  7.     Use at your own risk.
  8.  
  9. */
  10.  
  11. // This is the Class declaration of theDScribbleApp subclass to DApplciaton
  12.  
  13. #ifndef __DSCRIBBLEAPP__
  14. #define __DSCRIBBLEAPP__
  15.  
  16. #include "DApplication.h"
  17.  
  18. class DScribbleApp : public DApplication
  19. {
  20. public:
  21.  
  22.     DScribbleApp(void);
  23.     ~DScribbleApp(void);
  24.         // stub con/de structors... here just for style
  25.  
  26.     virtual DDocument* MakeDDoc(Boolean OpenFromFile);
  27.         // creats the application spacific DScribbleWind objects
  28.         
  29.     virtual void SetUpMenues(void);
  30.         // enables the open menu item.  This may be a break in 
  31.         // oop style, but I know that the DApplication HandleMenuChoice
  32.         // will respond correctly (calls MakeDDoc)to an Open menu selection 
  33.         // so I don't need to have a HandleMenuChoice method in this class.
  34. };
  35.  
  36.  
  37. #endif 
  38.  
  39.